Generating Constrained Random Data with Uniform Distribution

نویسندگان

  • Koen Claessen
  • Jonas Duregård
  • Michal H. Palka
چکیده

We present a technique for automatically deriving test data generators from a predicate expressed as a Boolean function. The distribution of these generators is uniform over values of a given size. To make the generation efficient we rely on laziness of the predicate, allowing us to prune the space of values quickly. In contrast, implementing test data generators by hand is labour intensive and error prone. Moreover, handwritten generators often have an unpredictable distribution of values, risking that some values are arbitrarily underrepresented. We also present a variation of the technique where the distribution is skewed in a limited and predictable way, potentially increasing the performance. Experimental evaluation of the techniques shows that the uniform derived generators are much easier to define than hand-written ones, and their performance, while lower, is adequate for some realistic applications.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

DATA ENVELOPMENT ANALYSIS WITH FUZZY RANDOM INPUTS AND OUTPUTS: A CHANCE-CONSTRAINED PROGRAMMING APPROACH

In this paper, we deal with fuzzy random variables for inputs andoutputs in Data Envelopment Analysis (DEA). These variables are considered as fuzzyrandom flat LR numbers with known distribution. The problem is to find a method forconverting the imprecise chance-constrained DEA model into a crisp one. This can bedone by first, defuzzification of imprecise probability by constructing a suitablem...

متن کامل

generating a random sample from gamma distribution using generalized exponential distribution.

in this paper, we discuss generating a random sample from gamma distribution using generalized exponential distribution.

متن کامل

Effect of dispersion state of the magnetic Fe3O4 nanoparticles on the thermal distribution in Hyperthermia

Introduction: Magnetic nanoparticle (MNP) hyperthermia is a promising cancer treatment approach. It is based on the evidence that by injecting MNPs such as Fe3O4 in the tumor and subjecting them to an alternating magnetic field, they release heat, generating temperatures up to 42°C that can kill cancer cells by apoptosis, usually with lowest damage to normal tissue. In previous...

متن کامل

Splittable stochastic project scheduling with constrained renewable resource

This paper discusses the problem of allocation of constrained renewable resource to splittable activities of a single project. If the activities of stochastic projects can be split, these projects may be completed in shorter time when the available resource is constrained. It is assumed that the resource amount required to accom-plish each activity is a discrete quantity and deterministic. The ...

متن کامل

Transport Property Estimation of Non-Uniform Porous Media

In this work a glass micromodel which its grains and pores are non-uniform in size, shape and distribution is considered as porous medium. A two-dimensional random network model of micromodel with non-uniform pores has been constructed. The non-uniformity of porous model is achieved by assigning parametric distribution functions to pores throat and pores length, which was measured using ima...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014